﻿using Mengsk.ProxyDelivery.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mengsk.ProxyDelivery.Service
{
    public class SystemConfigService : ServiceBase<SystemConfig>
    {
        const string APIURL_SAVEORUPDATE = "/webservice/systemconfig/saveorupdate.html";

        public void SaveOrUpdate(string name ,string value)
        {
            IDictionary<string, string> para = new Dictionary<string, string>();
            para.Add("name", name);
            para.Add("value", value);
            var ret = this.DoPost<double>(APIURL_SAVEORUPDATE, para);
        }
    }
}
